package cn.edu.scau.cmi.ChenKaihui.adapter;



/**
 *  测试类
 */
public class Client {
	public static void main(String[] args) {
		System.out.println("");
		//对象适配器
		Charger chargerOfObject = new AdapterOfObject();
		System.out.println(chargerOfObject.doChange());
		
		System.out.println("");
		//类适配器
		Charger chargerOfClass = new AdapterOfClass();
		System.out.println(chargerOfClass.doChange());
	}

}
